<%@ page language="java" import="data.*,logic.*,java.util.*" %>
<form class="finder" action="FrontController?res=actividades.jsp" method="post">
<span class="highlight">Busca actividades: </span> 
<input type="text" name="name" /> &nbsp; 
<select name="destiny" >
	<option value="0">Destinos...</option>
	<%
	List<Destination> ld = DestinationList.getInstance().getDestinations();
	for(Destination d: ld){
		%>
		<option value="<%= d.getId() %>"><%= d.getName() %></option>
		<%
	}
	%>
</select> &nbsp; 
<select name="type" >
	<option value="0">Tipo de actividad...</option>
	<%
	ActivityStore act = ActivityStore.getInstance();
	List<String> ls = act.getTypes();
	for(String d: ls){
		%>
		<option value="<%= d %>"><%= d %></option>
		<%
	}
	%>
</select> &nbsp; 

<input class="finderbutton" type="submit" name="findbutton" value="Buscar" />
</form>